<!DOCTYPE html>
<html lang="zh"
      xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
<head>
    <meta charset="UTF-8">
    <title>照片导入</title>
    <link rel="stylesheet" th:href="@{/layui/css/layui.css}" href="../static/layui/css/layui.css" media="all" />
    <link rel="stylesheet" th:href="@{/css/public.css}" href="../static/css/public.css" media="all" />
    <link rel="stylesheet" th:href="@{/css/photo.css}" href="../static/css/photo.css" media="all" />
</head>
<style>
    .thumb {margin-left:5px; margin-top:15px; height:128px}
    #prevModal {width:100%; height:100%; text-align:center; display:none;}
    #img_prev {max-width:98%; max-height:98%; margin: 10px auto}
</style>
<body class="childrenBody">

            <form class="layui-form" action="">
                <div class="layui-form-item">
                    <input type="hidden" id="ids" >
                    <input type="hidden" id="type" >
                    <label class="layui-form-label">姓名</label>
                    <div class="layui-input-block"><a class="layui-input photoPageName" ></a></div>
                    <label class="layui-form-label">班级</label>
                    <div class="layui-input-block"><a class="layui-input photoPageBjmc" ></a></div>
                </div>
                <div class='layui-container' style='margin-top:15px'>
                    <button type="button" class="layui-btn" id="photoFile">
                        <i class="layui-icon">&#xe67c;</i>上传图片
                    </button>
                    <div class='layui-input-block' id='div_prev' title=''></div>
                </div>
                <div class="layui-form-item layui-row layui-col-xs12">
                    <div class="layui-input-block">
                        <button id="sub-photobtn" class="layui-btn layui-btn-sm" lay-submit="" lay-filter="photoImp">
                            调整
                        </button>
                        <button class="layui-btn layui-btn-sm layui-btn-primary cancel">取消</button>
                    </div>
                </div>
            </form>

    <script type="text/javascript" th:src="@{/layui/layui.js}" src="../static/layui/layui.js"></script>
    <script type="text/javascript" th:src="@{/js/photoExp.js}" src="../static/js/photoExp.js"></script>
</body>
</html>